/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Deprecated;

//import WebServiceClient.PriceService;
//import WebServiceClient.PriceService_Service;
//import java.util.List;
//import java.util.Map;

/**
 *
 * @author lcfgly
 */
public class TestClass {

//    public static Class[] getMethodParamTypes(Object classInstance,
//        String methodName) throws ClassNotFoundException {
//        Class[] paramTypes = null;
//        Method[] methods = classInstance.getClass().getSuperclass().getDeclaredMethods();//全部方法
//        System.out.println(methods.length);
//        for (int i = 0; i < methods.length; i++) {
//            methods[i].setAccessible(true);
//            System.out.println(methods[i].getName());
//            if (methodName.equals(methods[i].getName())) {//和传入方法名匹配 
//                Class[] params = methods[i].getParameterTypes();
//                paramTypes = new Class[params.length];
//                for (int j = 0; j < params.length; j++) {
//                    System.out.println("=|"+params[j].getName());
//                    paramTypes[j] = Class.forName(params[j].getName());
//                }
//                break;
//            }
//        }
//        return paramTypes;
//    }
    
    public void testas(){
//        PriceService service=new PriceService_Service().getPriceServicePort();
//        List result=service.getarctype();
//        for (Object object : result) {
//            Map m=(Map)object;
//            System.out.println(m.get("name"));
//        }
    }
}
